package edu.hunau.cxb19.oop.class31;

/**
 * 饿汉模式
 * 
 * @author hb
 *
 *         2020-04-16 15:06:12
 */
public class Singleton {
	private static Singleton s = new Singleton();

	private Singleton() {

	}

	public static Singleton newInstance() {
		return s;
	}
}
